import os
import rtconfig
from building import *

cwd = GetCurrentDir()
src = []
path =  [cwd]

if GetDepend('EXAMPLES_USING_CDCACM'):
    src += ['t_cdcacm.c']

if GetDepend('EXAMPLES_USING_PIN'):
    src += ['t_pin.c']

if GetDepend('EXAMPLES_USING_MTD'):
    src += ['t_mtd.c']

group = DefineGroup('Examples', src, depend = ['RT_USING_EXAMPLES'], CPPPATH = path)

Return('group')
